﻿<UserControl x:Class="Hockey.UILayer.Views.HockeyMenu"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:loc="http://schemas.tomer.com/winfx/2006/xaml/presentation"                                                                                
             mc:Ignorable="d" 
            xmlns:service="clr-namespace:MVVMDialogs;assembly=MVVMDialog"              
            service:DialogService.IsRegisteredView="True"               
             
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <Style TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
            <Setter Property="Margin" Value="3" />
            <Setter Property="Width" Value="180" />
            <Setter Property="Height" Value="20" />
            <Setter Property="FontSize" Value="10" />
        </Style>
    </UserControl.Resources>
    <Viewbox >
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>

            <Button Content="{loc:Translate Default='Nová hra'}"  Grid.Row="0" Command="{Binding Path=NewGameCommand}" />
            <Button Content="{loc:Translate Default='Načíst hru'}"  Grid.Row="1" Command="{Binding Path=LoadGameCommand}" />
            <Button Content="{loc:Translate Default='Uložit hru'}"  Grid.Row="2" Command="{Binding Path=SaveGameCommand}" />
            <Button Content="{loc:Translate Default='Nápověda'}"  Grid.Row="3"  Command="{Binding Path=HelpCommand}" />
            <Button Content="{loc:Translate Default='O autorech'}"  Grid.Row="4" Command="{Binding Path=LicenseCommand}" />
            <Button Content="{loc:Translate Default='Ukončit program'}"  Grid.Row="5" Command="{Binding Path=ExitAppCommand}" />
        </Grid>
    </Viewbox>
</UserControl>
